// ------------------------------------------------------------------------------------------------
// File   : DX9DOF.h
// Date   : 2011-05-19
// Author : Weng xiao yi
// Descr. : 
//
// ------------------------------------------------------------------------------------------------


#ifndef GUARD_DX9AE_DOF_H
#define GUARD_DX9AE_DOF_H



class DX9AE_DOF : public DX9AfterEffect
{
public:
	DX9AE_DOF();
	virtual ~DX9AE_DOF();

	virtual void ReInit();
	virtual void OnDeviceLost();
	virtual void OnDeviceReset();
	virtual void Shutdown();

	virtual void Apply();

	inline virtual void  SetParam(DX9_AE_Context _eContext, ULONG _ulParam, float _fValue);
	inline virtual float GetParam(DX9_AE_Context _eContext, ULONG _ulParam);

	void		SetAllResourceNull();



};

inline void DX9AE_DOF::SetParam(DX9_AE_Context _eContext, ULONG _ulParam, float _fValue)
{
	return;
}


inline float DX9AE_DOF::GetParam(DX9_AE_Context _eContext, ULONG _ulParam)
{
	return 0.0f;
}

#endif